package org.osite.xml.converter;

import org.osite.xml.AttributeConverter;
import org.osite.xml.ParseContext;
import org.osite.xml.XmlParseException;

public class BooleanConverter implements AttributeConverter<Boolean> {
	@Override
	public Boolean convert(Class<?> type, String value, ParseContext context)
			throws XmlParseException {
		return Boolean.parseBoolean(value);
	}
}
